﻿using System.Collections.Generic;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridColumnValue<T>
    {
        // Methods
        internal DataGridColumnValue(KeyValuePair<DataGridColumn, T> pair)
        {
            this.Column = pair.Key;
            this.Value = pair.Value;
        }

        public DataGridColumnValue(DataGridColumn column, T value)
        {
            this.Column = column;
            this.Value = value;
        }

        // Properties
        public DataGridColumn Column { get; internal set; }

        public T Value { get; internal set; }
    }
}
